export const defaultConfig = {
    mode: "edit", // read edit
    showToolbar: true,
    showBottomBar: false,
    showContextmenu: true,
    showGrid: true,
    view: {
        height: () => window.innerHeight - (182+62), // isReport: -120; no isReport: -166
        width: () => window.innerWidth,
    },
    formats: [],
    fonts: [],
    formula: [],
    row: {
        len: 30,
        height: 35,
    },
    col: {
        len: 20,
        width: 110,
        indexWidth: 60,
        minWidth: 60,
    },
    style: {
        bgcolor: "#ffffff",
        align: "center",
        valign: "middle",
        textwrap: false,
        textDecoration: "normal",
        strikethrough: false,
        color: "#000066",
        font: {
            name: "宋体",
            size: 12,
            bold: false,
            italic: false,
        }
    },
}
// 封装的组件，自定义的扩展配置
export const defaultCustomConfig = {
    showUpload: true,
    showExport: true,
    showSave: true,
    showLoadData: true,
    // isReport: true
}
